/*
编写 : Hexh
时间 : 2012-11-7 10:31:36
*/
using System;
using System.Collections.Generic;
using FSBS.Core.Entity;
using HMIS.FrameWork;
using HMIS.FrameWork.DomainBase;

namespace FSBS.Facade
{
	/// <summary>
	///	 the interface of IFsbsQmCrifFacade
	/// </summary>
	public interface IFsbsQmCrifFacade : IDomainFacade
	{

		FsbsQmCrif Get(string id);

		FsbsQmCrif Load(string id);

		void SaveOrUpdate(FsbsQmCrif entity);

		void Delete(string id);

		void PhysicsDelete(string id);

		bool IsFieldExist(string fieldName, string fieldValue, string id);

		bool IsFieldExistWhere(string fieldName, string fieldValue, string id, string where);

		IList<FsbsQmCrif> GetAll();

		IList<FsbsQmCrif> GetPlist(string query, string carState, int start, int limit, string sort, string dir, List<DataFilter> filters, out long total);

		IList<FsbsQmCrif> GetPlistByStoreId(string storeid, string query, int start, int limit, string sort, string dir, List<DataFilter> filters, out long total);

		void AddStrlInfo(string carid, string strcid);
	}
}
